package java8.optional;

import java.util.Optional;

/**
 * @program: util
 * @description:
 * @author: zhouliangliang
 * @create: 2019-09-12 10:38
 **/
public class Car {

    private  Optional<Insurance> insurance;

    public Optional<Insurance> getInsurance() {
        return insurance;
    }
    public void setInsurance(Optional<Insurance> insurance) {
        this.insurance = insurance;
    }
}
